home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17818 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: usenet.cis.ufl.edu!usenet
  2. From: ep@cis.ufl.edu (Ed Porras)
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP: BC++ 4.52 owl combobox - what the hell is going on here?
  5. Date: 17 Apr 1996 18:33:37 GMT
  6. Organization: University of Florida (Computer Science Department)
  7. Message-ID: <1655.6681T872T766@cis.ufl.edu>
  8. NNTP-Posting-Host: dialup-c10.cis.ufl.edu
  9. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  10.  
  11. Hi,
  12.  
  13. i'm in look for someone who might have had this problem in the past..
  14.  
  15. i have an SDI application with a dialog client that contains
  16. 2 comboboxes (SRE_CBLIST1 & SRE_CB2LIST2).. 
  17. i also have to child dialogs that contain a single combobox each.. 
  18. although all have different resource ID's (HEC_CBLIST1 * HUB_CBLIST2),
  19. the 2 cb's in the main dialog correspond to the 2 in the children
  20. dialogs (the are not shared, but hold mirror copies of the same
  21. lists)..
  22.  
  23. the problem is that i initialize my buffers (comboboxdata) with n number 
  24. of strings.. CBLIST1 comboboxes hold 9 elements while CBLIST2 comboboxes
  25. hold 16.. 
  26. after adding the strings, i select index 0 on all 4 but i get screwed up
  27. results:
  28.  
  29. CBLIST1 show ok .. both of them have 9 elemnts, and element 1 (index 0)
  30. is selected),
  31.  
  32. but both CBLIST2's appear with index 9 selected.. and when i try to
  33. scroll with the up arrow (decreasing index value), once it reaches index
  34. 1, it jumps up to 9 again, so it never stops if i hold the key down!!
  35. if i scroll the other way, they will stop at index 15..
  36.  
  37. both children dialogs are poped up with menu entries, and everyone
  38. has its own independent buffer.. 
  39.  
  40. does anyone have a clue what's going on here? it's frustrating the hell
  41. out of me..
  42.  
  43. please mail me at 
  44.  
  45. ep@cis.ufl.edu
  46.  
  47.  
  48. thanks
  49.  
  50. -e
  51.  
  52. --
  53. ---------------------------------------------------------------
  54.   Ed Porras                 | Email: ep@cis.ufl.edu
  55.   2777 SW Archer Rd. AJ-308 | WWW: http://www.cis.ufl.edu/~ep/
  56.   Gainesville, Fl 32608     | University of Florida, CISE Dept.
  57.   (352) 335-8169            | Work: (352) 373-2626
  58. ---------------------------------------------------------------
  59.  
  60.  
  61.